using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.Common;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using AMStudio.Common;

namespace AMStudio.UserInterface
{
    public partial class ChangePasswordsForm :AWinFormShell
    {
        public string Password
        {
            get { return this.txtPassword.Text; }
        }
        public ChangePasswordsForm()
        {     
            InitializeComponent();
        }
        private void LoginForm_Load(object sender, EventArgs e)
        {
            this.UIName = this.Name;
        }
        private void btnOK_Click(object sender, EventArgs e)
        {
            if (this.txtPassword.Text != this.txtConfirmPassword.Text)
            {
                //WrongForm.Show("The passwords you typed in two times do not match");               
            }
            else
            {
                this.DialogResult = DialogResult.OK;
            }
        }          
    }
}